Automatic teaching method for printed circuit board inspection system

ABSTRACT

The present invention relates to an automatic teaching method for a circuit board inspection system and comprises a data transform step of transforming mounter data into data file for teaching; a coordinate transform step of corresponding coordinates for data for teaching transformed through the data transform step transform step with inspection system coordinates; and a teaching step of programming contents to be inspected based on data for teaching such as part coordinates, part names, reference names and part angles that are formed through the data transform step and coordinate transform step. An automatic teaching method for a circuit board inspection system according to the present invention not only completes teaching operation within a short period of time, but also substantially reduces set up time for a new circuit substrate by enabling automatic teaching utilizing mounter data of parts mounted on a forgoing actual circuit substrate.

BACKGROUND OF THE INVENTION

1. Field of the invention

The present invention relates to a method for inspecting the state ofparts of a printed circuit board, more particularly, to an automaticteaching method for a printed circuit board mounted inspection systemwhich automatically teaches the inspection system inspection relatedinformation according to type of each printed circuit boards.

2. Description of Related Art

Generally, a printed circuit board inspection system, as a system forinspecting information on various parts adhered onto a printed circuitboard, inspects various soldering defects such as no solder, short,position falling off and lead lift and whether appropriate parts areused or not by applying image processing technology to varieties ofdefects generated in automatic soldering process of the parts.

However, inspection related information such as name, position and shapeof parts according to type of circuit boards should be taught to theinspection system in full since soldering position of various parts andinspection processing method are varied depending on types of therespective circuit boards.

Conventionally, the foregoing teaching operation has been manually done,and an inspection window for all parts has been manually arranged beforebeing used after dividing the frame to maintain the number of frames asless as possible in the inspection system and obtaining paths of framefor a new circuit board.

However, the manual teaching operation has problems in that it not onlyrequires lots of time and related knowledge, but also lengthens setuptime for a new circuit board model.

On the other hand, although an automatic teaching method using a mounterdata is introduced into a certain inspection system to solve thoseproblems, automatic teaching can not be applied to all cases, and it isdifficult to correspond coordinates for the mounter data withcoordinates for the inspection system since corresponding types of asurface mounter are limited to extremely certain cases. Furthermore,there are problems in that it takes more time to correct the positionsthereof since the coordinates for the mounter data are different from,thereby deviated from the actual coordinates for the mounted parts dueto processing reasons.

SUMMARY OF THE INVENTION

Therefore, it is an object of the present invention to provide anautomatic teaching method for a circuit board inspection system that notonly completes teaching operation within a short period of time, butalso reduces setup time for a new circuit board by enabling accurateautomatic teaching using mounter data of parts actually-mounted on thecircuit board.

In order to achieve the foregoing objects, the present inventionprovides an automatic teaching method for a circuit board inspectionsystem comprising a data transform step of transforming mounter datainto data file for teaching; a coordinate transform step ofcorresponding coordinates for data for teaching transformed through thedata transform step with inspection system coordinates; and a teachingstep of programming contents to be inspected based on data for teachingsuch as part coordinates, part names, reference names and part anglesthat are formed through the data transform step and coordinate transformstep.

The data transform step comprises a step of selecting editing menu froma main screen provided by program execution; an editing screen displaystep according selection of the editing menu; a step of calling upmounter data through the editing screen; a step of designating a regionto transform data from the called up mounter data list; a step ofinputting concerned items after analyzing the transformed data; and astep of forming a teaching file by storing the transformed data, whereinthe automatic teaching method for a circuit board inspection systemcomprises the steps before the step of calling up mounter data or thestep of designating a region to transform data; a step of transformingconcerned items after analyzing data to be transformed; and a step offorming a data file for teaching by storing the transformed data, andwherein the automatic teaching method for a circuit board inspectionsystem further comprises a step of setting data transform rule beforethe step of calling up mounter data or the step of designating a regionto transform data.

The coordinate transform step comprises a step of selecting coordinatetransform menu from a main screen provided by program execution; acoordinate transform screen display step according to selection of thecoordinate transform menu; a step of calling up data file for teachingfrom the coordinate transform screen; a step of outputting informationon the called up data file for teaching; a step of performingapproximate coordinate transform through the outputted image data forthe purpose of micro-coordinate transform; a step of performingmicro-coordinate transform by designating specific parts; and a step ofregistering the transformed coordinates.

The teaching step comprises a step of selecting teaching menu from mainscreen provided by program execution; a teaching screen display stepaccording to selection of the teaching menu; a step of proceedingautomatic teaching through the teaching screen; and a step of finishingteaching after frame generation.

The the editing screen comprises a mounter data output window foroutputting the called up mounter data; an environment setting windowwhich is formed at one side of the mounter data output window to setvarious parameters for transforming mounter data; and a transform dataoutput window which is formed at one side of the mounter data outputwindow to output transform data for the designated mounter data.

The environment setting window comprises a coordinate reference forsetting coordinate system of the mounter data; an direction unit forsetting rotational angle unit of the mounter data; a coordinate unit forselecting coordinate unit of the mounter data; a separator for settingsymbol for dividing between items of the mounter data; and a mountertype selection part for setting the coordinate reference, direction unitand coordinate unit so that operators reuse the selected mounter typenot by setting environment again for the data type stored, but byselecting the mounter type only.

The coordinate transform screen comprises a circuit board image displaywindow for displaying entire images of the circuit board and position ofeach parts inputted into the data file for teaching in a cross shape anddisplaying position of specific parts selected in a rectangular shape todistinguish the specific parts from general parts; a coordinatetransform information window which is formed at one side of the circuitboard image display window to display coordinate transformed informationof each parts; a symmetric/rotational button which is formed at one sideof the circuit board image display window to correspond images of partswith cross marks through dragging of the mouse with mouse adjusted tocoordinate system by performing symmetrical or rotational transform oneach of the parts inputted into the data file for teaching; a movingbutton which is formed at one side of the circuit board image displaywindow to correspond the central point of part images of pictureprojected on an image display window with part coordinates selected onthe coordinate transform information window through dragging of mouse bymoving camera to position of parts selected through the coordinatetransform information window; and a registration button which is formedat one side of the moving button to register transformed coordinates.

The teaching screen comprises an image display window for displayingimages of parts to be taught; an automatic teaching tool window that isformed at one side of the image display window; a part group windowwhich is formed at the upper part of the automatic teaching tool windowto display a list of parts having the same name as parts selected fromthe part group window; part find buttons that are formed at the lowerpart of the part group window to teach position and region andinspection method of an inspection window to be actually inspected byfinding parts that are not taught and moving to position of concernedparts; and a lump-sum teaching button that is installed at the lowerpart of the part find buttons to automatically form the inspectionwindow.

The automatic teaching in the teaching process comprises the processesof moving a camera to x and y coordinates of parts having the same partnames using as a standard part parts a reference name of which isregistered in parts listed on the part group window, and automaticallyforming an inspection window having the same attribute as the standardpart at the position using angles of the parts; and forming aninspection window having the same attribute as the standard part usingposition coordinates and rotation angles of parts to be taught to aposition having the highest degree of similarity after grasping degreeof similarity for images similar to the standard part found in acandidate region by performing pattern matching in which images for ataught standard part are compared with images for a candidate region ofparts to be taught so that the automatically formed inspection window isautomatically taught to an actual position of parts on a printingcircuit board.

The position and region of the taught inspection window are preventedfrom being deviated by external factors such as mechanical properties ofrobot and distortion performance of camera by moving the camera to thecenter of a frame sequentially according to actual inspection sequencewhen including the inspection window into a frame formed in the framegeneration, and adjusting position of the inspection windows again bypattern matching as in the automatic teaching process for each of theinspection windows to be included by photographing images.

BRIEF DESCRIPTION OF THE DRAWINGS

Further-objects and advantages of the invention can be more fullyunderstood from the following detailed description taken in conjunctionwith the accompanying drawing in which:

FIG. 1 is a flow chart schematically illustrating automatic teachingstep according to one embodiment of the present invention;

FIG. 2 is a flow chart illustrating data transform step of the FIG. 1;

FIG. 3 is a flow chart illustrating coordinate transform step of theFIG. 1;

FIG. 4 is a flow chart illustrating teaching step of the FIG. 1;

FIG. 5 a is a drawing showing a main screen of automatic teachingprogram according to one embodiment of the present invention;

FIG. 5 b to FIG. 5 h are image state diagrams showing the state that aseries of editing processes are progressed through editing screenprovided from the FIG. 5 a;

FIG. 6 a to FIG. 6 d are image state diagrams showing the state that aseries of coordinate transform processes are proceeded throughcoordinate transform screen provided from the FIG. 5 a; and

FIG. 7 a to FIG. 7 d are image state diagrams showing the state that aseries of teaching processes are progressed through teaching screenprovided from the FIG. 5 a. <Explanation of symbols on major parts ofthe drawings> S1000: data transform step S2000: coordinate transformstep S3000: teaching step 1: main screen 10: editing screen 30:coordinate transform screen 50: teaching screen

DETAILED DESCRIPTION OF THE INVENTION

The present invention will now be described in detail in connection withpreferred embodiments with reference to the accompanying drawings. Forreference, like reference characters designate corresponding partsthroughout several views.

Referring to appending drawings, FIG. 1 to FIG. 7 d, constitution andfunction by one embodiment of the present invention are described morein detail as follows:

As illustrated on FIG. 1, an automatic teaching method for a circuitboard inspection system according to one embodiment of the presentinvention comprises a data transform step (S1000) for transformingmounter data for mounting parts on a circuit board (hereinafter referredto as “mounter data”) into data for teaching, a coordinate transformstep (S2000) of corresponding coordinates of data for teachingtransformed through the data transform step with coordinates of aninspection system for inspecting an actual mounting state of the circuitboard, and a teaching step (S3000) of programming contents to beinspected based on data for teaching such as part coordinates, partnames reference names and part angles formed through the data transformstep (S1000) and coordinate transform step (S2000).

As illustrated in FIG. 2, the data transform step (S1000) comprises astep (S1100) of selecting editing menu after putting a pop up menu onthe main screen by pressing the right side button of a mouse when a mainscreen 1 is outputted as in FIG. 5 a as a user executes program asillustrated in FIG. 2, a step (S1200) of displaying an editing screen 10as in FIG. 5 b after the step (S1100) of selecting the editing menu, astep (S1300) of calling up mounter data through the editing screen 10, astep (S1400) of designating a region of data to be transformed from theoutput list when the called up mounter data is outputted through amounter data output window 11 as illustrated in FIG. 5 b, a step (S1500)in which the user transforms concerned items after analyzing the data tobe transformed when the region designated data are outputted on atransform data output window 12 installed at the lower part of themounter data output window 11, and a step (S1600) of forming a data filefor teaching by storing the transformed data.

Furthermore, the data transform step (1000) further comprises a step(S1700) of setting data transform environment before the step (S1300) ofcalling up mounter data or the step (S1400) of designating a region fortransforming data in the foregoing steps so as to set data transformconditions.

As illustrated in FIG. 5 c, region designation in the step (S1400) ofdesignating a region for transforming data is done by selecting a startline corresponding to items to be transformed into the data file forteaching (X coordinate, Y coordinate, angle, name and reference ofparts), designating the start line by clicking the right side button ofthe mouse, and designating an end line by selecting a final line of aregion to be transformed as in the same manner.

Next, a method for inputting the concerned items in the step (S1500) oftransforming concerned items into the data outputted in a transform dataoutput window 120 comprises the steps of positioning the mousecorrespondingly to each items, forming a pop up menu window by clickingthe right side button of the mouse, and displaying the selected items byclicking name of the concerned items after selecting insert title fromthe pop up menu as illustrated in FIG. 5 d. Item names such as Xcoordinates, Y coordinates and angles of parts, part name and referencename are displayed by the method.

Next, environmental setting in the environment setting step (S1700) isenabled by inputting data into each designation parts of an environmentsetting window 13 provided on the editing screen 10 as illustrated inFIGS. 5 b, 5 c and 5 e.

The environment setting window 13 comprises a mounter type selectionpart 13 a for selecting types of mounter, a coordinate reference 13 bfor setting coordinate system of mounter data, a direction unit 13 c forsetting rotational angle unit of mounter data, a coordinate unit 13 dfor selecting coordinate unit of mounter data, and a separator 13 e fordividing between items of the mounter data.

The operator does clicks a save current setting 13 f menu formed at oneside of the environment setting window 13 to store environment settingcontents after setting and mapping the foregoing coordinate setting part13 b, direction unit selection part 13 c and coordinate unit 13 d aftersetting the coordinate reference 13 b, direction unit 13 c andcoordinate unit 13 d when an operator transforms mounter data frequentlyused into a data file for teaching so that the mounter type is usedagain by operator afterwards not by setting environment for the samedata type, but by setting the mounter type only.

The coordinate reference 13 b sets a coordinate system used in themounter, and the coordinate system selected when transformingcoordinates into the data file for teaching is transformed into acoordinate system for the inspection system.

The coordinate system is one selected from +X+Y, +X−Y, −X+Y, and −X−Y.

The coordinate unit 13 d sets coordinate unit used in the mounter,wherein 1.0 mm, 0.01 mm, 1.0 inch and 1.0 mil are selected as a settingunit of the coordinate unit 13 d, and a user column 13 g is formed atone side of the coordinate unit 13 d. The coordinate units set whentransforming the selected setting unit into a data file for teaching aretransformed into a micron (μm) unit that is a coordinate unit of theinspection system if one of the setting units is selected.

An operator input column 13 g′ for inputting an operator and an editorbox 13 g″ for inputting values applied by the user are formed on theuser column 13 g.

The separator 13 e selects tab, blank, rest, or a combination thereofwhen dividing items of the mounter data so that the items of the mounterdata are divided by the tab, blank, rest, or the combination thereof.

The mounter data is read out after dividing items of the mounter datawith a selected separator so that a data list is displayed on a mounterdata output window.

On the other hand, a user separator column 13 h is formed at one side ofthe separator 13 e to read out mounter data, simultaneously use variousseparators and enter such symbols such as colon between a plurality ofseparators by dividing items of the mounter data using letters inputtedby a user when the separators between the items of the mounter data arenot in the separator 13 e.

Furthermore, as illustrated in FIG. 5 f, an apply separator 13 i isformed at one side of the environment setting window 13 so that itemsare classified by the separator if clicking the apply separator 13 iwhen the separator is not set in the previous step, or the set separatoris reset.

In FIGS. 5 b and 5 c, the non-described symbol 13 j represents a partlist total window for showing the number of parts before being selected.

Unnecessary column items are removed from the separated total data inFIG. 5 g as a drawing illustrating other examples for editing data ofthe foregoing transform data output window 12. The column is removed byselecting column to be removed, and selecting column delete of deleteitem displayed on the pop up menu window by clicking the right sidebutton of the mouse.

Furthermore, a delete this cell menu is formed on the pop up menu windowso that a value on the right row is moved to the deleted cell as theselected cell is being deleted when clicking the delete this cell menuafter moving the mouse to position of a cell to be deleted.

Furthermore, a menu of delete contents in this cell is formed on the popup menu window to delete contents of the selected cell.

An operator input window as illustrated in FIG. 5 h, a drawing forshowing an operator editing example, is appeared by selecting an applyoperation menu from the pop up menu window as shown in the FIG. 5 g toapply an operator to the selected column by selecting a column.

A column for applying the selected operator and an operator selectionbox are formed on the operator input window, and an operation numberinput box for inputting operation number to be applied during operationis formed at one side of the operator input window so that part angleunits and coordinate units are manually transformed by a user.

Next, the coordinate transform step (S2000) comprises a step (S2100) ofselecting a coordinate transform menu after putting a pop up menu on themain screen 1 by pressing the right side button of the mouse if a mainscreen 1 as illustrated in FIG. 5 a is outputted as the user isexecuting a program as illustrated in FIG. 3, a step (S2200) ofoutputting a coordinate transform screen 30 as in FIG. 6 a after thestep (S2100) of selecting the coordinate transform menu, and a step(S2300) of calling up a teaching file stored the data transform step(S1000) through the coordinate transform screen 30.

Furthermore, the coordinate transform step (S2000) comprises a step(S2400) of outputting information on the teaching file onto thecoordinate transform screen 30, a coordinate transform step (S2500) inwhich a user roughly executes coordinate transform through the called upinformation on the teaching file, a step (S2600) of executing microcoordinate transform by designating specific parts, and a step (S2700)of registering the transformed coordinates.

A circuit board image display window 31 and a coordinate transformwindow 32 are formed on the coordinate transform screen 30 in the step(S2300) of calling up the data file for teaching as illustrated in FIG.6 b so that position of each parts inputted into a current data file forteaching is indicated in a cross shape on an image of the circuit board(a part expressed on the screen in black) on the circuit board imagedisplay window 31, position of specific parts selected is displayed in arectangular shape to distinguish the specific parts from ordinary parts,and contents of data file for teaching are displayed on the coordinatetransform window 32.

Next, in the coordinate transform step (S2500), position of cross ischanged when dragging the mouse to a desired position by clicking theleft side button of the mouse in the state that a cross showing partpositions on a picture on circuit board images is indicated on thecircuit board image display window 31, and data of coordinatestransformed as much as displaced position are shown on the coordinatetransform window 32 with data of the coordinates being renewed whenreleasing click of the left side button of the mouse at position wherethe parts correspond with cross marks.

A micro coordinate transform execution step (S2600) can be performedonly by corresponding the cross with the center of all parts of circuitboard image of the circuit board image display window 31.

The coordinate transform step (S2500) is also performed through asymmetrical/rotational button 33 formed at one side of the circuit boardimage display window 31.

That is, symmetrical or rotational transform can be carried out byclicking the symmetrical/rotational button 33 in case that crossdistribution shown on the circuit board image display window 31 issymmetrical to part distribution of the circuit board image on the basisof X and Y axes or rotated to angles of +90 degrees and −90 degrees forpart distribution of the circuit board image.

The coordinate transform window 32 shows coordinate transformedinformation of each part, wherein the information comprises index, name,reference, rotational angle, X axis coordinate and Y-axis coordinate ofthe parts.

Next, the micro coordinate transform execution step (S2600) is describedas follows referring to FIG. 6 c and FIG. 6 d.

First, a red quadrangle is indicated at position of the part selected onthe circuit board image display window 31 to distinguish the specificparts from ordinary parts when a user selects specific parts from a partlist of the coordinate transform window 32, and a camera for expandingand projecting an image of the part of the circuit board inspectionsystem is moved to position of selected parts by clicking a move button34 formed on one side of the coordinate transform window 32.

The coordinate transform screen 30 is closed, and a screen box of partsprojected by the camera is outputted on a main screen 1 as in FIG. 6 cby clicking a minimization button 35 formed on the upper right side ofthe coordinate transform screen 30 if the camera is moved.

A cross mark shown on the screen indicates the central position of apart selected from the coordinate transform window 32, wherein microcoordinate transform is executed by moving a camera in the state thatthe left button of a mouse is clicked in a moving mode so that thecenter of the part corresponds with the cross marked part as illustratedin FIG. 6 d, thereby corresponding the cross mark with the center of thepart if a cross mark does not correspond with the central position of aspecific part shown on a screen.

A register button 37 is formed at one side of the move button 34 so thatthe foregoing coordinate transform data is registered by pressing theregister button 37.

A register button 37 is formed at one side of the move button 34 so thatthe foregoing coordinate transform data are registered by pressing theregister button (37).

A cancel button 38 is formed at one side of the move button 34 to cancelthe coordinate transform process and close a dialogue box.

The non-described symbol 39 represents an open button for calling up adata file for teaching.

Next, the teaching step (S3000) comprises a step (S3100) of selecting ateaching menu from a main screen 1 provided by program execution asillustrated in FIG. 4, a step (S3200) of showing a teaching screen 50 asin FIG. 7 a according to selection of the teaching menu, a teachingproceeding step (S3300) of proceeding teaching by selecting a teachingobject, and a step (S3400) of terminating teaching after performingframe generation if teaching proceeding is completed.

A teaching part indication window 51 for indicating a part to be taughtis formed on the teaching screen 50, an automatic teaching tool windowis formed at one side of the teaching part display window 51, and anautomatic teaching list window 53 and an automatic teaching button part55 for automatic teaching are formed on the automatic teaching toolwindow as illustrated in FIG. 7 b.

A part group window 53 a for showing a list of the whole parts is formedon the automatic teaching list window 53, and a part list window 53 bfor showing a list of parts having the same name as parts selected fromthe part group window 53 a is formed at the lower side of the part groupwindow 53 a.

If even one component having the same name as illustrated in FIG. 7 c istaught in reference name for each part in the part group window 53 a,reference name of a part that is taught very last as having the samename is registered.

On the other hand, the reference name is registered as “NOT TAUGHT” incase that not a single part out of the parts having the same name istaught.

The part list window 53 b shows a list of parts having the same name asparts selected from the part group window 53 a as illustrated in FIG. 7d, and a camera is moved to position of the selected part when doubleclicking the left side button of the mouse with a mouse positioned at apart to be taught on the part list window 53 b.

After parts to be taught are displayed on the teaching part displaywindow 51, reference names of concerned parts are displayed on the partgroup window 53 a while check marks shown on the concerned parts of thepart list window 53 b by first teaching a window for mounting stateinspection for inspecting position disconnection, defects andmis-insertion of the concerned parts and teaching a window for solderingstate inspection of the concerned parts in succession, wherein thewindow for mounting state inspection should be taught first since thewindow for soldering state inspection is designated as correspondingdata to the window for mounting state inspection.

As illustrated in FIG. 7 b, an automatic teaching button 55 comprises afind button 55 a that is moved to parts not taught, a teach current partbutton 55 b for finding and automatically teaching parts having the samename as the parts selected from the part group window 53 a, a teach allparts button 55 c for finding and automatically teaching parts havingthe same name as all parts of the part group window 53 a, and an exitbutton 55 d for finishing automatic teaching after forming a frame.

The find button 55 a comprises four buttons of a << button for moving toposition thereof to find parts that are not taught among the inspectedparts by finding parts that are at the previous positions of currentlyselected parts from the part group window 53 a in reverse order andinspecting parts having the same name as the found parts in order; a <button for moving to position thereof to find parts that are not taughtamong the inspected parts by inspecting parts that are in the previousposition of current selected parts among parts shown on the part listwindow 53 b in reverse order; a >> button for moving to position thereofto find parts that are not taught among the inspected parts by findingparts that are in the following positions of the currently selectedparts from the part group window 53 a in order and inspecting partshaving the same name as the found parts in order; and a > button formoving to position thereof to find parts that are not taught among theinspected parts by inspecting parts that are in the following positionsof currently selected parts among parts shown on the part list window 53b in order.

The teach current part button 55 b sets the selected parts as a standardpart if reference name is registered on parts that are selected from thepart group window 53 a and finds to automatically teach non-taught partshaving the same name as the standard part.

The teach all parts button 55 c sets all parts which reference name isregistered as a standard part on the part group window 53 a in order andfinds to automatically teach non-taught parts having the same name asthe standard part.

On the other hand, the position of an inspection window formed can beinaccurate as position of an object part to be taught does notaccurately corresponds with coordinate data due to various reasons suchas error of robot, mounting state of a circuit board and problems ofmounting process although automatic teaching is possible only withposition coordinates and rotational angles of the object part to betaught.

A pattern matching for comparing image for a standard part that isautomatically taught with an image of a candidate region of parts thatis to be taught using lump-sum teaching buttons (55 b,55 c) as a meansfor solving the foregoing problems is performed so that an inspectionwindow having the same attribute as the standard part is formed on anaccurate position of parts using position coordinates and rotationalangles of parts that are taught to a position having the highest degreeof similarity after grasping degree of similarities for the imagessimilar to the standard part found in the candidate region, and theinspection window is not formed in case that the minimum degree ofsimilarity standard is not satisfied in the whole candidate region sothat the inspection window is formed on the next parts having the sameattribute as the standard part after they are found.

Next, frame generation is described as follows:

First, frame displays an image photographed once by a camera into aregion, wherein the frame generation is meant to minimize the number offrames by optimizing the moving range of the camera, wherein an effectfor minimizing inspection time is obtained by minimizing the number offrames.

The automatic teaching step is exited after frames are formed on allinspection windows that are automatically taught to the present time bypressing the exit button 55 d when finishing automatic teaching.

The frame generation is a process of forming frames and including theinspection windows included in the formed frames into the frame so thatthe largest numbers of part units are included for taught inspectionwindows that are not included in the frame until all inspection windowsare included in the frame.

On the other hand, position and region of the inspection window areprevented from being deviated by external factors such as mechanicalproperties of robot and distortion performance of camera by moving thecamera to the center of a frame sequentially according to actualinspection sequence as a position of the formed frame when including theinspection window into the formed frame, and adjusting position of theinspection windows again by pattern matching as in the automaticteaching process for each of the inspection windows to be included byphotographing images.

While the invention has been particularly shown and described withreference to preferred embodiments thereof, it will be understood bythose skilled in the art that the foregoing and other changes in formand details may be made therein without departing from the spirit andscope of the invention.

1. An automatic teaching method for a circuit board inspection systemcomprising: a data transform step of transforming mounter data into datafile for teaching; a coordinate transform step of correspondingcoordinates for data for teaching transformed through the data transformstep with inspection system coordinates; and a teaching step ofprogramming contents to be inspected based on data for teaching such aspart coordinates, part names, reference names and part angles that areformed through the data transform step and coordinate transform step. 2.The automatic teaching method for a circuit board inspection systemaccording to claim 1, wherein the data transform step comprises a stepof selecting editing menu from a main screen provided by programexecution; an editing screen display step according selection of theediting menu; a step of calling up mounter data through the editingscreen; a step of designating a region to transform data from the calledup mounter data list; a step of inputting concerned items afteranalyzing the transformed data; and a step of forming a teaching file bystoring the transformed data, wherein the automatic teaching method fora circuit board inspection system comprises the steps before the step ofcalling up mounter data or the step of designating a region to transformdata; a step of transforming concerned items after analyzing data to betransformed; and a step of forming a data file for teaching by storingthe transformed data, and wherein the automatic teaching method for acircuit board inspection system further comprises a step of setting datatransform rule before the step of calling up mounter data or the step ofdesignating a region to transform data.
 3. The automatic teaching methodfor a circuit board inspection system according to claim 1, wherein thecoordinate transform step comprises a step of selecting coordinatetransform menu from a main screen provided by program execution; acoordinate transform screen display step according to selection of thecoordinate transform menu; a step of calling up data file for teachingfrom the coordinate transform screen; a step of outputting informationon the called up data file for teaching; a step of performingapproximate coordinate transform through the outputted image data forthe purpose of micro-coordinate transform; a step of performingmicro-coordinate transform by designating specific parts; and a step ofregistering the transformed coordinates.
 4. The automatic teachingmethod for a circuit board inspection system according to claim 1,wherein the teaching step comprises a step of selecting teaching menufrom main screen provided by program execution; a teaching screendisplay step according to selection of the teaching menu; a step ofproceeding automatic teaching through the teaching screen; and a step offinishing teaching after frame generation.
 5. The automatic teachingmethod for a circuit board inspection system according to claim 2,wherein the editing screen comprises a mounter data output window foroutputting the called up mounter data; an environment setting windowwhich is formed at one side of the mounter data output window to setvarious parameters for transforming mounter data; and a transform dataoutput window which is formed at one side of the mounter data outputwindow to output transform data for the designated mounter data.
 6. Theautomatic teaching method for a circuit board inspection systemaccording to claim 5, wherein the environment setting window comprises acoordinate reference for setting coordinate system of the mounter data;a direction unit for setting rotational angle unit of the mounter data;a coordinate unit for selecting coordinate unit of the mounter data; aseparator for setting symbol for dividing between items of the mounterdata; and a mounter type selection part for setting the coordinatereference, direction unit and coordinate unit so that operators reusethe selected mounter type not by setting environment again for the datatype stored, but by selecting the mounter type only.
 7. The automaticteaching method for a circuit board inspection system according to claim3, wherein the coordinate transform screen comprises a circuit boardimage display window for displaying entire images of the circuit boardand position of each parts inputted into the data file for teaching in across shape and displaying position of specific parts selected in arectangular shape to distinguish the specific parts from general parts;a coordinate transform information window which is formed at one side ofthe circuit board image display window to display coordinate transformedinformation of each parts; a symmetric/rotational button which is formedat one side of the circuit board image display window to correspondimages of parts with cross marks through dragging of the mouse withmouse adjusted to coordinate system by performing symmetrical orrotational transform on each of the parts inputted into the data filefor teaching; a moving button which is formed at one side of the circuitboard image display window to correspond the central point of partimages of picture projected on an image display window with partcoordinates selected on the coordinate transform information windowthrough dragging of mouse by moving camera to position of parts selectedthrough the coordinate transform information window; and a registrationbutton which is formed at one side of the moving button to registertransformed coordinates.
 8. The automatic teaching method for a circuitboard inspection system according to claim 4, wherein the teachingscreen comprises an image display window for displaying images of partsto be taught; an automatic teaching tool window that is formed at oneside of the image display window; a part group window which is formed atthe upper part of the automatic teaching tool window to display a listof parts having the same name as parts selected from the part groupwindow; part find buttons that are formed at the lower part of the partgroup window to teach position and region and inspection method of aninspection window to be actually inspected by finding parts that are nottaught and moving to position of concerned parts; and a lump-sumteaching button that is installed at the lower part of the part findbuttons to automatically form the inspection window.
 9. The automaticteaching method for a circuit board inspection system according to claim8, wherein the automatic teaching in the teaching process comprises theprocesses of moving a camera to x and y coordinates of parts having thesame part names using as a standard part parts a reference name of whichis registered in parts listed on the part group window, andautomatically forming an inspection window having the same attribute asthe standard part at the position using angles of the parts; and formingan inspection window having the same attribute as the standard partusing position coordinates and rotation angles of parts to be taught toa position having the highest degree of similarity after grasping degreeof similarity for images similar to the standard part found in acandidate region by performing pattern matching in which images for ataught standard part are compared with images for a candidate region ofparts to be taught so that the automatically formed inspection window isautomatically taught to an actual position of parts on a printingcircuit board.
 10. The automatic teaching method for a circuit boardinspection system according to claim 4 is characterized in that positionand region of the taught inspection window are prevented from beingdeviated by external factors such as mechanical properties of robot anddistortion performance of camera by moving the camera to the center of aframe sequentially according to actual inspection sequence whenincluding the inspection window into a frame formed in the framegeneration, and adjusting position of the inspection windows again bypattern matching as in the automatic teaching process for each of theinspection windows to be included by photographing images.